﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jutinews.aspx.cs" Inherits="weba.jutinews" %>

<%@ Register Assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" Namespace="C1.Web.Wijmo.Controls.C1GridView" TagPrefix="wijmo" %>
<%@ Register assembly="C1.Web.Wijmo.Controls.4, Version=4.0.20133.145, Culture=neutral, PublicKeyToken=9b75583953471eea" namespace="C1.Web.Wijmo.Controls.C1TreeView" tagprefix="wijmo" %>
<%@ Register Src="~/zbkj.ascx" TagPrefix="uc1" TagName="zbkj" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
        <style type="text/css">
        .rgt {
            float: right;
        }
        .lft {
            float: left;
        }
        .lftb {
            float: left;
            width: 150px;
            clear: left;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
             <asp:Image ID="Image1" runat="server" ImageUrl="~/Images/imgnews.jpg" Width="962px" />
        <div class="lftb">
             <wijmo:C1TreeView ID="C1TreeView1" runat="server" CssClass="lft" Width="200px">
<ExpandAnimation Option=""></ExpandAnimation>

<CollapseAnimation Option=""></CollapseAnimation>
            <Nodes>
               <wijmo:C1TreeViewNode ID="C1TreeViewNode1" runat="server" NodeIndex="0" Text="公司新闻" Url="~/xingwen.aspx">
                </wijmo:C1TreeViewNode>
                <wijmo:C1TreeViewNode ID="C1TreeViewNode2" runat="server" NodeIndex="0" Text="业界动态" Url="~/dongtai.aspx">
                </wijmo:C1TreeViewNode>
            </Nodes>
        </wijmo:C1TreeView>
            <uc1:zbkj runat="server" ID="zbkj" />
            </div>
       <div class="rgt">
        <wijmo:C1GridView ID="C1GridView1" runat="server" AutogenerateColumns="False" DataSourceID="LinqDataSource1" GroupAreaCaption="将这里的一列拖去与那一列分组。" LoadingText="载入中..." Width="700px">
            <Columns>
                <wijmo:C1TemplateField>
                         
                   
                    <HeaderTemplate>
                         <strong>当前新闻</strong>
                            <hr />
                    </HeaderTemplate>
                         
                   
                    <ItemTemplate>
                        <strong> <%# Eval("tit") %></strong>
                            <hr />
                        <SPAN><%# Eval("shijian") %></SPAN>
                        <hr />
                        <SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: 宋体"><%# Eval("discp") %></SPAN>

                    </ItemTemplate>
                </wijmo:C1TemplateField>
            </Columns>
        </wijmo:C1GridView>
           </div>
        <asp:LinqDataSource ID="LinqDataSource1" runat="server" ContextTypeName="weba.sjklqDataContext" EntityTypeName="" Select="new (tit, discp, shijian)" TableName="xinwen" Where="Id == @Id">
            <WhereParameters>
                <asp:QueryStringParameter Name="Id" QueryStringField="id" Type="Int32" />
            </WhereParameters>
        </asp:LinqDataSource>
    </div>
    </form>
</body>
</html>
